﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.Mvc;

namespace Helper.Controllers
{
    public partial class SectorController : BaseController
    {        
        [HttpGet]
        [ActionName("GetAll")]
        public JsonResult GetAll()
        {
            JsonResult result = new JsonResult();
            result.JsonRequestBehavior = JsonRequestBehavior.AllowGet;
            result.Data = _SectorRepository.GetAll();
            return result;
        }

    }
}
